package de.koller.reason.render.pipeline;

public class Fragment {

	public int x;
	public int y;
	public int color;
	public float depth;

	public Fragment( float x, float y, int color, float depth ) {
		this.set( x, y, color, depth );
	}

	public Fragment( Fragment f ) {
		this( f.x, f.y, f.color, f.depth );
	}
	
	public void set( float x, float y, int color, float depth ) {
		this.x = (int)x;
		this.y = (int)y;
		this.color = color;
		this.depth = depth;
	}
	
}
